package com.fw.system.admin.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fw.annotation.Excel;
import com.fw.core.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 【请填写功能名称】对象 tb_user
 * 
 * @author xxx
 * @date 2021-12-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_user")
@ApiModel(value="【请填写功能名称】", description="")
public class TbUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    @TableId("id")
    private String id;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField("phone")
    private String phone;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField("user_name")
    private String userName;

    /** 0女 1男 */
    @ApiModelProperty(value = "${comment}")
    @Excel(name = "0女 1男")
    @TableField("sex")
    private Long sex;

    /** 头像地址 */
    @ApiModelProperty(value = "0女 1男")
    @Excel(name = "头像地址")
    @TableField("img_url")
    private String imgUrl;

    /** 上级编号 */
    @ApiModelProperty(value = "头像地址")
    @Excel(name = "上级编号")
    @TableField("parent_id")
    private String parentId;

    /** 0普通用户 1代理 ... */
    @ApiModelProperty(value = "上级编号")
    @Excel(name = "0普通用户 1代理 ...")
    @TableField("is_type")
    private Long isType;

    /** 0封禁 1正常 */
    @ApiModelProperty(value = "0普通用户 1代理 ...")
    @Excel(name = "0封禁 1正常")
    @TableField("is_status")
    private Long isStatus;

    /** vip 等级 */
    @ApiModelProperty(value = "0封禁 1正常")
    @Excel(name = "vip 等级")
    @TableField("vip_level")
    private Long vipLevel;

    /** 0未实名 1实名 */
    @ApiModelProperty(value = "vip 等级")
    @Excel(name = "0未实名 1实名")
    @TableField("is_rule")
    private Long isRule;

    /** 身份证号 */
    @ApiModelProperty(value = "0未实名 1实名")
    @Excel(name = "身份证号")
    @TableField("user_car")
    private String userCar;

    /** 身份证名字 */
    @ApiModelProperty(value = "身份证号")
    @Excel(name = "身份证名字")
    @TableField("car_name")
    private String carName;

    /** 支付宝名称 */
    @ApiModelProperty(value = "身份证名字")
    @Excel(name = "支付宝名称")
    @TableField("ali_user_name")
    private String aliUserName;

    /** 支付宝账号 */
    @ApiModelProperty(value = "支付宝名称")
    @Excel(name = "支付宝账号")
    @TableField("ali_account")
    private String aliAccount;

    /** 邀请码 */
    @ApiModelProperty(value = "支付宝账号")
    @Excel(name = "邀请码")
    @TableField("sys_host")
    private String sysHost;

    /** $column.columnComment */
    @ApiModelProperty(value = "邀请码")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField("pass_word")
    private String passWord;


    /** $column.columnComment */
    @ApiModelProperty(value = "邀请码")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField("bank_name")
    private String bankName;
    /** $column.columnComment */
    @ApiModelProperty(value = "邀请码")
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    @TableField("bank_car")
    private String bankCar;
}
